﻿<UserControl x:Class="OnlineVideos.QuizExitPopUp"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
  d:DesignHeight="650" d:DesignWidth="480">

    <Grid x:Name="LayoutRoot" Background="Black">
        <Popup x:Name="popMessage"   Margin="10,220,0,0">
            <Grid x:Name="gridpopup" Background="#424542" Opacity="3" Height="350" Width="450"  VerticalAlignment="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="100"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <Border Grid.Row="0">
                    <TextBlock   TextWrapping="Wrap"  Margin="5,50,0,0"
                   Text="Do you want to exit from test" FontFamily="Segoe WP" FontSize="40" Foreground="White" VerticalAlignment="Center"/>
                </Border>
                <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
                    <Button x:Name="btnok" ClickMode="Press" Content="OK" Click="btnok_Click" Height="80" Width="150" Foreground="White"/>
                    <Button x:Name="btnCancel" ClickMode="Press" Content="CANCEL" Click="btnCancel_Click" Height="80" Width="150" Foreground="White"/>
                </StackPanel>
            </Grid>
        </Popup>

    </Grid>
</UserControl>